package com.wpedu.pattern.factory.factoryMethod;

import com.wpedu.pattern.factory.ICar;

/**
 * test
 *
 * @author Administrator
 * @create 2019 / 03 / 19 : 21:08
 **/
public class FactoryMethodTest {
    public static void main(String[] args) {
        ICarFactory carFactory = new BenzCarFactory();
        ICar car = carFactory.build();
        car.color();
    }
}
